package com.mishitu.cf.androidfire.api;


import com.mishitu.cf.androidfire.bean.GirlBean;
import com.mishitu.cf.androidfire.bean.NewsBean;
import com.mishitu.cf.androidfire.bean.VideoData;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by cf on 2016/9/29.
 */

public interface ApiService {
    @GET("login")
    void login();

    @GET("/nc/article/{type}/{typeId}/{curPage}-20.html")
    Call<NewsBean> getNews(@Path("type") String type, @Path("typeId") String typeId, @Path("curPage") int curPage);

    @GET("/data/福利/{size}/{page}")
    Call<GirlBean> getGirls(@Path("size") int size, @Path("page") int page);

    @GET("/nc/video/list/{typeId}/{curPage}-10.html")
    Call<Map<String, VideoData>> getVideoData(@Path("typeId") String typeId, @Path("curPage") int curPage);

}
